Storefront has been decoupled into micro-frontends with a dedicated commerce app and shared shell.

Read the architecture guide →

Ordering Dead Letter Queue

Kafka dead-letter topic owned by the platform-engineering-team that captures basket-cleanup outcome commands that Order API could not process.

KafkaDead-Letter Queue

Purpose & Scope

This dead-letter channel captures Finance basket-cleanup outcome commands that Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs could not process. Messages arrive here when transient database or service faults exhaust retries, or immediately when a command fails deserialization or validation.

DLQ Profile

PropertyValue
Owning ServiceOrder APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs
Address Patternbookworm.{env}.ordering.dead-letter-queue
Upstream Source ChannelsSuccessful Basket Cleanup Command ChannelChannelv1.0.0Successful Basket Cleanup Command ChannelKafka topic owned by the commerce-fulfillment-team carrying Finance's successful basket-cleanup command consumed by Orde...Ownercommerce-fulfillment-teamOpen docs, Failed Basket Cleanup Command ChannelChannelv1.0.0Failed Basket Cleanup Command ChannelKafka topic owned by the commerce-fulfillment-team carrying Finance's failed basket-cleanup compensation command consume...Ownercommerce-fulfillment-teamOpen docs
Routing TriggersExhausted transient retries (database/service faults) or immediate poison/deserialization errors
Retention / Inspection WindowGoverned by Kafka broker retention policy; inspect and triage before broker expiry
Replay SafetyIdempotent for cleanup-complete; requires manual validation for cleanup-failed (soft-deletes order)

Triage & Replay Guardrails

Warning

Before replaying any record from this DLQ:

  1. Distinguish between Acknowledge basket deletion completedCommandv1.0.0Acknowledge basket deletion completedReports Finance's successful basket-cleanup outcome to Order API without changing the Order's business status. Ownercommerce-fulfillment-teamSchemaDiagramOpen docs (records operational outcome without changing order state) and Handle basket deletion failedCommandv1.0.0Handle basket deletion failedReports Finance's failed basket-cleanup outcome so Order API can soft-delete the affected Order. Ownercommerce-fulfillment-teamSchemaDiagramOpen docs (soft-deletes the order record).
  2. Inspect the current order state in Order APIServicev1.0.0Order APIAuthenticated Ordering service for Buyer profiles and the Order lifecycle, creating Orders from baskets, snapshotting pr...PublishesGetBasketGrpc, GetBookGrpc +5SubscribesCreateOrder, CompleteOrder +11APIsOpenAPI, AsyncAPI, Carrier Service LevelsOwnercommerce-fulfillment-teamDiagramRepositoryOpen docs before replaying a failure command to ensure soft-deletion is still the intended compensation.
  3. Confirm database connectivity and isolate any malformed poison records before replaying valid messages.

Follow the operational triage procedures in Incident Triage & Health Check RunbookCustom DocIncident Triage & Health Check RunbookFirst-5-minutes triage commands and symptom-first recovery playbooks for Container Apps, passwordless RBAC, order orches...Ownerplatform-engineering-teamOpen doc.

Channel Details & Visualization

Channel information

Address: bookworm.{env}.ordering.dead-letter-queue
Protocol:
  • kafka
Type: Topic

ParameterDescriptionOptionsDefault
envBookWorm deployment environment.development, staging, productiondevelopment